SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}Idar-Oberstein{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}' OR prCity = 'Idar-Oberstein' OR prZip = 'Idar-Oberstein' OR prStreet LIKE '{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}Idar-Oberstein{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}' OR prCountry = 'Idar-Oberstein') AND (prLocation LIKE '{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}Germany{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}Germany{e1111a2bb74887973da9846fd444039488f1556c0ac1ce58e568e579df1155c6}' OR prCountry = 'Germany')